﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JCW.Common
{
    public class SysDefault
    {

        /// <summary>
        /// 待定0
        /// </summary>
        public static int PARAM_ORDERSTATE_WAIT = 0;

        /// <summary>
        /// 有效订单1
        /// </summary>
        public static int PARAM_ORDERSTATE_EFFECT = 1;

        /// <summary>
        /// 无效订单2
        /// </summary>
        public static int PARAM_ORDERSTATE_UNEFFECT = 2;
        /// <summary>
        /// 已签3
        /// </summary>
        public static int PARAM_ORDERSTATE_DEAL = 3;
        /// <summary>
        /// 待签4
        /// </summary>
        public static int PARAM_ORDERSTATE_WAITDEAL = 4;
        /// <summary>
        /// 马甲--假订单5
        /// </summary>
        public static int PARAM_ORDERSTATE_FAILE = 5;


        /// <summary>
        /// 0:待定
        //1：有效
   //2：无效
   //3：已签
   //4：待签
   //5：马甲
        /// </summary>
        public static string[] OrderState {
                
            get { return new string[]{"待定","有效","无效","已签","待签","马甲"};}
        }

        /// <summary>
        /// 企业形象
        /// </summary>
        public static int AlbumType_FACE = 31;//

        /// <summary>
        /// 企业荣誉
        /// </summary>
        public static int AlbumType_HONOR = 32;

        /// <summary>
        /// 企业资质
        /// </summary>
        public static int AlbumType_Qualify = 33;
        
        /// <summary>
        /// 装修案例：效果图
        /// </summary>
        public static int AlbumType_Rending = 11;

        /// <summary>
        /// 装修案例：施工过程图
        /// </summary>
        public static int AlbumTYpe_Processing = 12;

        /// <summary>
        /// 装修案例：完工图
        /// </summary>
        public static int AlbumTYpe_Completing = 13;

        /// <summary>
        /// 装修案例：装修公司案例1
        /// </summary>
        public static int AlbumType_CompCase = 1;

        /// <summary>
        /// 装修安全：设计师案例2
        /// </summary>
        public static int AlbumType_DesingerCase = 2;

        /// <summary>
        /// 装修案例：商铺案例3
        /// </summary>
        public static int AlbumType_ShopCase = 3;

        /// <summary>
        /// 装修案例：业主安全4
        /// </summary>
        public static int AlbumType_HouserOwnerCase = 4;

        /// <summary>
        /// 客户
        /// </summary>
        public static int UserType_Customer = 0;
        /// <summary>
        /// 公司
        /// </summary>
        public static int UserType_Comp = 1;

        /// <summary>
        /// 商店
        /// </summary>
        public static int UserType_Store = 2;
        /// <summary>
        /// 设计师
        /// </summary>
        public static int UserType_Desinger = 3;

        /// <summary>
        /// 普通会员
        /// </summary>
        public static int UserLevel_Nomal = 0;

        /// <summary>
        /// 金牌会员
        /// </summary>
        public static int UserLevel_Gold = 1;

        /// <summary>
        /// 钻石会员
        /// </summary>
        public static int UserLevel_Diamond = 2;

        /// <summary>
        /// 保障通会员
        /// </summary>
        public static int UserLevel_Safe = 3;

        /// <summary>
        /// 装修案例--家装1
        /// </summary>
        public static int CompCase_HomeType = 1;

        /// <summary>
        /// 装修案例--工装2
        /// </summary>
        public static int CompCase_StoreType = 2;
        /// <summary>
        /// 装修案例--建筑工地3
        /// </summary>
        public static int CompCase_BuildType = 3;
        /// <summary>
        /// 设计作品4
        /// </summary>
        public static int CompCase_DesignType = 4;

        /// <summary>
        /// 装修案例-参数类型
        /// </summary>
        public static string PARAM_COMPCASE_TYPEKEY = "CASETYPE";
        /// <summary>
        /// 广告类型名称KEY
        /// </summary>
        public static string AD_TYPENAME = "AD";
        #region 广告定义
        /// <summary>
        /// 首页-第一广告位，第一横条
        /// </summary>
        public static int AD_HOME_TOP1 = 1000;

        /// <summary>
        /// 首页-三排广告条;
        /// </summary>
        public static int AD_HOME_TOP2 = 1002;

        /// <summary>
        /// 首页-FLash广告轮播
        /// </summary>
        public static int AD_HOME_FLASHSHOW = 1003;

        /// <summary>
        /// 首页-中间横幅广告
        /// </summary>
        public static int AD_HOME_CENTER1 = 1004;



        public static string AD_ALLSTR = string.Format("{0}||首页顶部LOGO@@{1}||首页热闹广告14@@{2}||首页轮播广告@@{3}||中部广告1个",AD_HOME_TOP1,AD_HOME_TOP2,AD_HOME_FLASHSHOW,AD_HOME_CENTER1);
        public static string[] AD_TYPE {
            get { return new string[] { AD_HOME_TOP1+"||首页顶部LOGO"}; }
        }

        /// <summary>
        /// 广告，图库案例，轮播
        /// </summary>
        public static int AD_GALLERY_FLASHSHOW = 2001;

        /// <summary>
        /// 广告位，装修公司主页-横条
        /// </summary>
        public static int AD_COMPAGE_TOP1 = 3001;
        /// <summary>
        /// 广告位，装修公司主页-轮播广告
        /// </summary>
        public static int AD_COMPAGE_ADV = 3002;

        /// <summary>
        /// 广告
        /// </summary>
        public static int AD_COMPPAGE_FLASH = 3003;
        #endregion

        /// <summary>
        /// 装修颜色 2
        /// </summary>
        public static int PARAM_CASE_COLOR = 2;
        /// <summary>
        /// 装修空间 4
        /// </summary>
        public static int PARAM_CASE_SPACE = 5;
        /// <summary>
        /// 装修风格3
        /// </summary>
        public static int PARAM_CASE_STYLE = 3;

        /// <summary>
        /// 装修预算5
        /// </summary>
        public static int PARAM_CASE_BUDGET = 4;

        /// <summary>
        /// 服务项目 6
        /// </summary>
        public static int PARAM_CASE_SERVICE = 6;

        /// <summary>
        /// 公司规模 7
        /// </summary>
        public static int PARAM_CASE_SCALE = 7;

        #region 设计师参数

        /// <summary>
        /// 设计师职业
        /// </summary>
        public static int PARAM_DESIGNERTYPE_POST = 8;

        /// <summary>
        /// 擅长领域
        /// </summary>
        public static int PARAM_DESIGNERTYPE_AREA = 9;

        /// <summary>
        /// 工作时长
        /// </summary>
        public static int PARAM_DESIGNERTYPE_WORKTIME = 10;

        #endregion


        #region 文章类型定义
        /// <summary>
        /// 文章类型
        /// </summary>        
        public static string PARAM_BLOGTYPE = "30";
        /// <summary>
        /// 公司文章
        /// </summary>
        public static string PARAM_BLOGTYPE_COMPTYPE = "3010";
        /// <summary>
        /// 公司推荐
        /// </summary>
        public static string PARAM_BLOGTYPE_COMPTYPE_PREFER = "301010";
        /// <summary>
        /// 用户日志
        /// </summary>
        public static string PARAM_BLOGTYPE_USERTYPE = "3030";

        /// <summary>
        /// 设计师作品
        /// </summary>
        public static string PARAM_BLOGTYPE_DESIGNERTYPE = "3040";
        #endregion

        #region 留言类型
        /// <summary>
        /// 留言类型：企业留言
        /// </summary>
        public static int PARAM_MESSAGETYPE_COMPANY = 4;
        #endregion

        #region 图片类型定义
        /// <summary>
        /// 企业图片：企业广告
        /// </summary>
        public static int PHOTOTYPE_COMP_FLASHSHOW = 7;
        #endregion

        #region 推荐文章类型定义

        /// <summary>
        /// 推荐优惠信息
        /// </summary>
        public static string PARAM_RECOMMAND_PREFER = "301010";
        /// <summary>
        /// 认证商家
        /// </summary>
        public static string PARAM_RECOMMAND_CERTIFYCOMPANY = "301011";
        /// <summary>
        /// 公告栏
        /// </summary>
        public static string PARAM_RECOMMAND_NOTIC = "301012";
        /// <summary>
        /// 建材文章推荐
        /// </summary>
        public static string PARAM_RECOMMAND_BMC = "301013";
        /// <summary>
        /// 设计师文章推荐
        /// </summary>
        public static string PARAM_RECOMMAND_DESIGNER = "301014";
        #endregion

        #region 学习装修类型
        /// <summary>
        /// 所有学习装修类型ROOT：50
        /// </summary>
        public static string PARAM_BLOG_RECOMMAND_ROOT = "50";
        /// <summary>
        /// 学习装修类型ROOT：5010；
        /// </summary>
        public static string PARAM_BLOG_RECOMMAND_LEARNING_ROOT = "5010";
        /// <summary>
        /// 学习装修首页轮播：501010
        /// </summary>
        public static string PARAM_BLOG_RECOMMAND_LEARNING_GALLARY = "501010";
        /// <summary>
        /// 学习装修着页今日聚焦
        /// </summary>
        public static string PARAM_BLOG_RECOMMAND_LEARNING_FOCUS = "501020";
        /// <summary>
        /// 学习装修首羰装修流程：501030
        /// </summary>
        public static string PARAM_BLOG_RECOMMAND_LEARNING_PROCESS = "501030";
        /// <summary>
        /// 学习装修首页装修步骤：501040
        /// </summary>
        public static string PARAM_BLOG_RECOMMAND_LEARNING_STEP = "501040";
        /// <summary>
        /// 学习装修首页用户日志:501050
        /// </summary>
        public static string PARAM_BLOG_RECOMMAND_LEARNING_USERDAILY = "501050";
        /// <summary>
        /// 学习装修首页模块1：501060
        /// </summary>
        public static string PARAM_BLOG_RECOMMAND_LEARNING_BLOG1 = "501060";
        public static string PARAM_BLOG_RECOMMAND_LEARNING_BLOG2 = "501070";
        public static string PARAM_BLOG_RECOMMAND_LEARNING_BLOG3 = "501080";
        public static string PARAM_BLOG_RECOMMAND_LEARNING_BLOG4 = "501090";
        /// <summary>
        /// 学习装修首页优惠:501099
        /// </summary>
        public static string PARAM_BLOG_RECOMMAND_LEARNING_PREFER = "501099";
        #endregion
        
    }
}
